<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
    

<div class="modal-dialog demo2do-modal-dialog" style="width: 1000px">

  <div class="modal-content">

    <div class="modal-header beast-breadcrumb no-bottom-border clearfix">

      <h2><i class="glyphicon glyphicon-fire" title=""></i>&nbsp;&nbsp;<span>广告主列表&nbsp;-&nbsp;过滤查询</span></h2>

      <button type="button" class="close" data-dismiss="modal">&times;</button>

    </div>

    <form class="form-horizontal" method="GET" action="${ctx.host}/aduser-levels/search">

      <input type="hidden" name="filter" value="true" >

      <div class="modal-body">       
        <div class="form-group demo2do-form-group">
          <label class="col-xs-2 control-label">级别名称</label>
          <div class="pull-left" style="width: 30%">
            <input type="text" class="form-control" name="name" />
          </div>
          <label class="col-xs-2 control-label">是否默认</label>
          <div class="pull-left" style="width: 30%">
            <select name="primary" class="form-control select2" data-live-search="true" data-size="5">
               <option value="true">是</option>
               <option  value="false">否</option>
            </select>
          </div>
        </div>
               
        <div class="form-group demo2do-form-group">
          <label class="col-xs-2 control-label">底价范围</label>
          <div class="pull-left" style="width: 30%">
            <div class="input-group">
                <input type="text" class="form-control" name="floorPriceLeft" />
                <span class="input-group-addon">~</span>
                <input type="text" class="form-control" name="floorPriceRight" />
            </div>
          </div>
        </div>    
      </div>

      <div class="modal-footer">
        <button type="submit" class="btn btn-success btn-shadow btn-shadow-success demo2do-btn">查询</button>&nbsp;&nbsp;&nbsp;&nbsp;
        <button type="button" class="btn btn-default btn-shadow btn-shadow-default demo2do-btn" data-dismiss="modal">取消</button>
      </div>

    </form>

  </div>

</div>
<script src="${ctx.resource}/js/select2.min.js"></script>
<script src="${ctx.resource}/js/select2_locale_zh-CN.js"></script>
<script type="text/javascript">
  $('.select2').select2({minimumResultsForSearch: -1});
</script>